package com.classtest.DemoExpend.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.classtest.DemoExpend.bean.DbGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository//注解接口,可以实现注入它的实现类
@Mapper
public interface DbGoodsDao extends BaseMapper<DbGoods> {
    public List<DbGoods> getGoodsCount(DbGoods dbGoods);
    public void deleteGoods(@Param("id") String id);
    public void uploadImage(DbGoods dbGoods);
    public void insertExImage(DbGoods dbGoods);
}
